[[ $@ ]] || {
    printf "Usage\n\t./$0 domain <email> <from_email> <rcpt_email>\n"
    exit 1
}
{
    sleep 1
    echo "helo $2"
    sleep 0.5
    echo "mail from:$3"
    sleep 0.5
    echo "rcpt to:$4"
    sleep 0.5
    echo "data"
    sleep 0.5
    echo "Subject: JTR Links - Informe"
    sleep 0.5
    echo "Mensagem:"
    sleep 0.5
    cat /tmp/mail.body
    sleep 0.5
    echo "."
    sleep 0.5
    echo "quit"
} | telnet $1 25 
